{* 催还图书页面 *}

{include file="../header.html" title="图书催还"}

	<div id="main">
		<div id="main_title">您当前处于 
			<span class="softFont">图书催还</span>
		</div>
		<div id="main_body">
			{if $bookList}
			<center>
				<form id="listForm">
					<table id="bookList" cellpadding="5" cellspacing="0">
						<tr>
							<th>图书号</th>
							<th>图书名</th>
							<th>状态</th>
						</tr>
						{foreach $bookList as $book}
						<tr>
							<td>
								{$book['bid']}
							</td>
							<td>
								{$book['title']}
							</td>
							<td>
								{if $book['isOver']}
								已超期{$book['day']}天
								{else}
								还有{$book['day']-1}天到期
								{/if}
							</td>
						</tr>
						{/foreach}
					</table>
				</form>
			</center>
			{else}
			<div class="noContent">没有将要到期书籍</div>
			{/if}
		</div>
	</div>

{include file="../footer.html"}